<link rel="stylesheet" href="<?php echo base_url() . 'style/index' ?>/css/base.css" />
<script type="text/javascript" charset="utf-8" src="<?php echo base_url() . 'style/index' ?>/js/jquery-1.7.1.min.js"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo base_url() . 'style/index' ?>/js/nav.js"></script>
<script type="text/javascript" charset="utf-8" src="<?php echo base_url() . 'style/index' ?>/js/sliders.js"></script>

</head>
<body>
<div id="header">
    <div class="topbg"></div>
    <div class="topline"></div>
    <div class="logo">
        <div class="logo_left">
            <a href="/">
                <img src="<?php echo base_url() . 'style/index' ?>/images/logo.png" alt="logo" height="47" width="185" />
            </a>
        </div>
        <div class="logo_right">
            <form action="" name="serch" method="post">
                <input type="text" class="serch" name="key" placeholder="请输入关键词" />
                <input type="submit" class="submit" value="搜索" />
            </form>
        </div>
    </div>
    <div id="nav">
        <ul>
            <li class="mainlevel"><a href="<?php echo site_url() . '/index/Home/index' ?>">首页</a></li>
            <?php foreach($category as $k => $v): ?>
            <li class="mainlevel"><a href="<?php echo site_url() . '/index/Category/index/'.$v['cid'] ?>"><?php echo $v['cname'] ?></a></li>
            <?php endforeach; ?>
            <li class="mainlevel"><a href="">更多>></a>
                <ul>
                    <li><a href="">子菜单1</a></li>
                    <li><a href="">子菜单2</a></li>
                </ul>
            </li>
        </ul>
    </div>
</div>